home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
People & Parliament - A …er's Guide to Westminster
/
People and Parliament - A Stranger's Guide to Westminster (1998)(House of Commons).iso
/
parl
/
8bit80.dir
/
00114_Script_114
< prev
next >
Wrap
Text File
|
1998-03-23
|
799b
|
34 lines
on exitFrame
getaquestion
end
on getaquestion
GLOBAL QRESULT,RANDOMQ
PUT THE TEXT OF MEMBER "QUIZ STUFF" INTO BLOB
PUT RANDOM(240) INTO RANDOMQ
checktheLIST
add listcheck, RANDOMQ
PUT LINE 1+(RANDOMQ*5) OF BLOB INTO QFIELD
PUT LINE 2+(RANDOMQ*5) OF BLOB INTO AFIELD1
PUT LINE 3+(RANDOMQ*5) OF BLOB INTO AFIELD2
PUT LINE 4+(RANDOMQ*5) OF BLOB INTO AFIELD3
PUT LINE 5+(RANDOMQ*5) OF BLOB INTO QRESULT
SET THE TEXT OF MEMBER "QFIELD" TO ""&QFIELD
SET THE TEXT OF MEMBER "AFIELD1" TO ""&AFIELD1
SET THE TEXT OF MEMBER "AFIELD2" TO ""&AFIELD2
SET THE TEXT OF MEMBER "AFIELD3" TO ""&AFIELD3
end
on checktheLIST
GLOBAL QRESULT,RANDOMQ
getPos(listcheck, RANDOMQ)
if the result<>0 then getaquestion
exit
end checktheLIST